home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / GRAPHICS / POV_3 / DEMO / COLORS.POV < prev    next >
Encoding:
Text File  |  2004-06-07  |  9.7 KB  |  712 lines

  1. // Persistence Of Vision raytracer version 3.0 sample file.
  2. // By Chris Young & Dan Farmer
  3. // Illustrates many of the colors in standard include file "colors.inc"
  4.  
  5. #version 3.0
  6. global_settings { assumed_gamma 2.2 }
  7.  
  8. #include "colors.inc"
  9.  
  10. #declare Col0 = -36
  11. #declare Col1 = -30
  12. #declare Col2 = -24
  13. #declare Col3 = -18
  14. #declare Col4 = -12
  15. #declare Col5 = -6
  16. #declare Col6 = 0
  17. #declare Col7 = 6
  18. #declare Col8 = 12
  19. #declare Col9 = 18
  20. #declare Col10 = 24
  21. #declare Col11 = 30
  22. #declare Col12 = 36
  23.  
  24. #declare Row1 = 24
  25. #declare Row2 = 18
  26. #declare Row3 = 12
  27. #declare Row4 = 6
  28. #declare Row5 = 0
  29. #declare Row6 = -6
  30. #declare Row7 = -12
  31. #declare Row8 = -18
  32. #declare Row9 = -24
  33. #declare Row10 = -30
  34.  
  35.  
  36. camera {
  37.    location <Col6,  -3,  -350>
  38.    direction <0, 0, 5.5>
  39.    look_at <Col6, -3, 0>
  40. }
  41.  
  42. light_source {<-500, 500, -1500> color White}
  43.  
  44.  
  45. default {
  46.    finish {
  47.       phong 1 phong_size 100
  48.       ambient .15
  49.       diffuse .7
  50.    }
  51. }
  52.  
  53. #declare Dist = -4
  54. #declare Radius = 3
  55.  
  56. plane {
  57.   z,3.1
  58.   pigment {White}
  59. }
  60.  
  61. sphere {  
  62.   <Col0, Row1, Dist>, Radius 
  63.   pigment {Gray05}
  64. }
  65.  
  66. sphere {
  67.   <Col1, Row1, Dist>, Radius
  68.    pigment {Gray10}
  69. }
  70.  
  71. sphere {
  72.   <Col2, Row1, Dist>, Radius
  73.    pigment {Gray15}
  74. }
  75.  
  76. sphere {
  77.   <Col3, Row1, Dist>, Radius
  78.    pigment {Gray20}
  79. }
  80.  
  81. sphere {
  82.   <Col4, Row1, Dist>, Radius
  83.    pigment {Gray25}
  84. }
  85.  
  86. sphere {
  87.   <Col5, Row1, Dist>, Radius
  88.    pigment {Gray30}
  89. }
  90.  
  91. sphere {
  92.   <Col6, Row1, Dist>, Radius
  93.    pigment {Gray35}
  94. }
  95.  
  96. sphere {
  97.   <Col7, Row1, Dist>, Radius
  98.    pigment {Gray40}
  99. }
  100.  
  101. sphere {
  102.   <Col8, Row1, Dist>, Radius
  103.    pigment {Gray45}
  104. }
  105.  
  106. sphere {
  107.   <Col9, Row1, Dist>, Radius
  108.    pigment {Gray50}
  109. }
  110.  
  111. sphere {
  112.   <Col10, Row1, Dist>, Radius
  113.    pigment {Gray55}
  114. }
  115.  
  116. sphere {
  117.   <Col11, Row1, Dist>, Radius
  118.    pigment {Gray60}
  119. }
  120.  
  121. sphere {
  122.   <Col12, Row1, Dist>, Radius
  123.    pigment {Gray65}
  124. }
  125.  
  126. sphere {
  127.   <Col0, Row2, Dist>, Radius
  128.    pigment {Gray70}
  129. }
  130.  
  131. sphere {
  132.   <Col1, Row2, Dist>, Radius
  133.    pigment {Gray75}
  134. }
  135.  
  136. sphere {
  137.   <Col2, Row2, Dist>, Radius
  138.    pigment {Gray80}
  139. }
  140.  
  141. sphere {
  142.   <Col3, Row2, Dist>, Radius
  143.    pigment {Gray85}
  144. }
  145.  
  146. sphere {
  147.   <Col4, Row2, Dist>, Radius
  148.    pigment {Gray90}
  149. }
  150.  
  151. sphere {
  152.   <Col5, Row2, Dist>, Radius
  153.    pigment {Gray95}
  154. }
  155.  
  156. sphere {
  157.   <Col6, Row2, Dist>, Radius
  158.    pigment {DimGray}
  159. }
  160.  
  161. sphere {
  162.   <Col7, Row2, Dist>, Radius
  163.    pigment {Grey}
  164. }
  165.  
  166. sphere {
  167.   <Col8, Row2, Dist>, Radius
  168.    pigment {LightGrey}
  169. }
  170.  
  171. sphere {
  172.   <Col9, Row2, Dist>, Radius
  173.    pigment {VLightGrey}
  174. }
  175.  
  176. sphere {
  177.   <Col10, Row2, Dist>, Radius
  178.    pigment {Clear}
  179. }
  180.  
  181. sphere {
  182.   <Col11, Row2, Dist>, Radius
  183.    pigment {White}
  184. }
  185.  
  186. sphere {
  187.   <Col12, Row2, Dist>, Radius
  188.    pigment {Red}
  189. }
  190.  
  191. sphere {
  192.   <Col0, Row3, Dist>, Radius
  193.    pigment {Green}
  194. }
  195.  
  196. sphere {
  197.   <Col1, Row3, Dist>, Radius
  198.    pigment {Blue}
  199. }
  200.  
  201. sphere {
  202.   <Col2, Row3, Dist>, Radius
  203.    pigment {Yellow}
  204. }
  205.  
  206. sphere {
  207.   <Col3, Row3, Dist>, Radius
  208.    pigment {Cyan}
  209. }
  210.  
  211. sphere {
  212.   <Col4, Row3, Dist>, Radius
  213.    pigment {Magenta}
  214. }
  215.  
  216. sphere {
  217.   <Col5, Row3, Dist>, Radius
  218.    pigment {Black}
  219. }
  220.  
  221. sphere {
  222.   <Col6, Row3, Dist>, Radius
  223.    pigment {Aquamarine}
  224. }
  225.  
  226. sphere {
  227.   <Col7, Row3, Dist>, Radius
  228.    pigment {BlueViolet}
  229. }
  230.  
  231. sphere {
  232.   <Col8, Row3, Dist>, Radius
  233.    pigment {Brown}
  234. }
  235.  
  236. sphere {
  237.   <Col9, Row3, Dist>, Radius
  238.    pigment {CadetBlue}
  239. }
  240.  
  241. sphere {
  242.   <Col10, Row3, Dist>, Radius
  243.    pigment {Coral}
  244. }
  245.  
  246. sphere {
  247.   <Col11, Row3, Dist>, Radius
  248.    pigment {CornflowerBlue}
  249. }
  250.  
  251. sphere {
  252.   <Col12, Row3, Dist>, Radius
  253.    pigment {DarkGreen}
  254. }
  255.  
  256. sphere {
  257.   <Col0, Row4, Dist>, Radius
  258.    pigment {DarkOliveGreen}
  259. }
  260.  
  261. sphere {
  262.   <Col1, Row4, Dist>, Radius
  263.    pigment {DarkOrchid}
  264. }
  265.  
  266. sphere {
  267.   <Col2, Row4, Dist>, Radius
  268.    pigment {DarkSlateBlue}
  269. }
  270.  
  271. sphere {
  272.   <Col3, Row4, Dist>, Radius
  273.    pigment {DarkSlateGrey}
  274. }
  275.  
  276. sphere {
  277.   <Col4, Row4, Dist>, Radius
  278.    pigment {DarkTurquoise}
  279. }
  280.  
  281. sphere {
  282.   <Col5, Row4, Dist>, Radius
  283.    pigment {Firebrick}
  284. }
  285.  
  286. sphere {
  287.   <Col6, Row4, Dist>, Radius
  288.    pigment {ForestGreen}
  289. }
  290.  
  291. sphere {
  292.   <Col7, Row4, Dist>, Radius
  293.    pigment {Gold}
  294. }
  295.  
  296. sphere {
  297.   <Col8, Row4, Dist>, Radius
  298.    pigment {Goldenrod}
  299. }
  300.  
  301. sphere {
  302.   <Col9, Row4, Dist>, Radius
  303.    pigment {GreenYellow}
  304. }
  305.  
  306. sphere {
  307.   <Col10, Row4, Dist>, Radius
  308.    pigment {IndianRed}
  309. }
  310.  
  311. sphere {
  312.   <Col11, Row4, Dist>, Radius
  313.    pigment {Khaki}
  314. }
  315.  
  316. sphere {
  317.   <Col12, Row4, Dist>, Radius
  318.    pigment {LightBlue}
  319. }
  320.  
  321. sphere {
  322.   <Col0, Row5, Dist>, Radius
  323.    pigment {LightSteelBlue}
  324. }
  325.  
  326. sphere {
  327.   <Col1, Row5, Dist>, Radius
  328.    pigment {LimeGreen}
  329. }
  330.  
  331. sphere {
  332.   <Col2, Row5, Dist>, Radius
  333.    pigment {Maroon}
  334. }
  335.  
  336. sphere {
  337.   <Col3, Row5, Dist>, Radius
  338.    pigment {MediumAquamarine}
  339. }
  340.  
  341. sphere {
  342.   <Col4, Row5, Dist>, Radius
  343.    pigment {MediumBlue}
  344. }
  345.  
  346. sphere {
  347.   <Col5, Row5, Dist>, Radius
  348.    pigment {MediumForestGreen}
  349. }
  350.  
  351. sphere {
  352.   <Col6, Row5, Dist>, Radius
  353.    pigment {MediumGoldenrod}
  354. }
  355.  
  356. sphere {
  357.   <Col7, Row5, Dist>, Radius
  358.    pigment {MediumOrchid}
  359. }
  360.  
  361. sphere {
  362.   <Col8, Row5, Dist>, Radius
  363.    pigment {MediumSeaGreen}
  364. }
  365.  
  366. sphere {
  367.   <Col9, Row5, Dist>, Radius
  368.    pigment {MediumSlateBlue}
  369. }
  370.  
  371. sphere {
  372.   <Col10, Row5, Dist>, Radius
  373.    pigment {MediumSpringGreen}
  374. }
  375.  
  376. sphere {
  377.   <Col11, Row5, Dist>, Radius
  378.    pigment {MediumTurquoise}
  379. }
  380.  
  381. sphere {
  382.   <Col12, Row5, Dist>, Radius
  383.    pigment {MediumVioletRed}
  384. }
  385.  
  386. sphere {
  387.   <Col0, Row6, Dist>, Radius
  388.    pigment {MidnightBlue}
  389. }
  390.  
  391. sphere {
  392.   <Col1, Row6, Dist>, Radius
  393.    pigment {Navy}
  394. }
  395.  
  396. sphere {
  397.   <Col2, Row6, Dist>, Radius
  398.    pigment {NavyBlue}
  399. }
  400.  
  401. sphere {
  402.   <Col3, Row6, Dist>, Radius
  403.    pigment {Orange}
  404. }
  405.  
  406. sphere {
  407.   <Col4, Row6, Dist>, Radius
  408.    pigment {OrangeRed}
  409. }
  410.  
  411. sphere {
  412.   <Col5, Row6, Dist>, Radius
  413.    pigment {Orchid}
  414. }
  415.  
  416. sphere {
  417.   <Col6, Row6, Dist>, Radius
  418.    pigment {PaleGreen}
  419. }
  420.  
  421. sphere {
  422.   <Col7, Row6, Dist>, Radius
  423.    pigment {Pink}
  424. }
  425.  
  426. sphere {
  427.   <Col8, Row6, Dist>, Radius
  428.    pigment {Plum}
  429. }
  430.  
  431. sphere {
  432.   <Col9, Row6, Dist>, Radius
  433.    pigment {Salmon}
  434. }
  435.  
  436. sphere {
  437.   <Col10, Row6, Dist>, Radius
  438.    pigment {SeaGreen}
  439. }
  440.  
  441. sphere {
  442.   <Col11, Row6, Dist>, Radius
  443.    pigment {Sienna}
  444. }
  445.  
  446. sphere {
  447.   <Col12, Row6, Dist>, Radius
  448.    pigment {SkyBlue}
  449. }
  450.  
  451. sphere {
  452.   <Col0, Row7, Dist>, Radius
  453.    pigment {SlateBlue}
  454. }
  455.  
  456. sphere {
  457.   <Col1, Row7, Dist>, Radius
  458.    pigment {SpringGreen}
  459. }
  460.  
  461. sphere {
  462.   <Col2, Row7, Dist>, Radius
  463.    pigment {SteelBlue}
  464. }
  465.  
  466. sphere {
  467.   <Col3, Row7, Dist>, Radius
  468.    pigment {Tan}
  469. }
  470.  
  471. sphere {
  472.   <Col4, Row7, Dist>, Radius
  473.    pigment {Thistle}
  474. }
  475.  
  476. sphere {
  477.   <Col5, Row7, Dist>, Radius
  478.    pigment {Turquoise}
  479. }
  480.  
  481. sphere {
  482.   <Col6, Row7, Dist>, Radius
  483.    pigment {Violet}
  484. }
  485.  
  486. sphere {
  487.   <Col7, Row7, Dist>, Radius
  488.    pigment {VioletRed}
  489. }
  490.  
  491. sphere {
  492.   <Col8, Row7, Dist>, Radius
  493.    pigment {Wheat}
  494. }
  495.  
  496. sphere {
  497.   <Col9, Row7, Dist>, Radius
  498.    pigment {YellowGreen}
  499. }
  500.  
  501. sphere {
  502.   <Col10, Row7, Dist>, Radius
  503.    pigment {SummerSky}
  504. }
  505.  
  506. sphere {
  507.   <Col11, Row7, Dist>, Radius
  508.    pigment {RichBlue}
  509. }
  510.  
  511. sphere {
  512.   <Col12, Row7, Dist>, Radius
  513.    pigment {Brass}
  514. }
  515.  
  516. sphere {
  517.   <Col0, Row8, Dist>, Radius
  518.    pigment {Copper}
  519. }
  520.  
  521. sphere {
  522.   <Col1, Row8, Dist>, Radius
  523.    pigment {Bronze}
  524. }
  525.  
  526. sphere {
  527.   <Col2, Row8, Dist>, Radius
  528.    pigment {Bronze2}
  529. }
  530.  
  531. sphere {
  532.   <Col3, Row8, Dist>, Radius
  533.    pigment {Silver}
  534. }
  535.  
  536. sphere {
  537.   <Col4, Row8, Dist>, Radius
  538.    pigment {BrightGold}
  539. }
  540.  
  541. sphere {
  542.   <Col5, Row8, Dist>, Radius
  543.    pigment {OldGold}
  544. }
  545.  
  546. sphere {
  547.   <Col6, Row8, Dist>, Radius
  548.    pigment {Feldspar}
  549. }
  550.  
  551. sphere {
  552.   <Col7, Row8, Dist>, Radius
  553.    pigment {Quartz}
  554. }
  555.  
  556. sphere {
  557.   <Col8, Row8, Dist>, Radius
  558.    pigment {Mica}
  559. }
  560.  
  561. sphere {
  562.   <Col9, Row8, Dist>, Radius
  563.    pigment {NeonPink}
  564. }
  565.  
  566. sphere {
  567.   <Col10, Row8, Dist>, Radius
  568.    pigment {DarkPurple}
  569. }
  570.  
  571. sphere {
  572.   <Col11, Row8, Dist>, Radius
  573.    pigment {NeonBlue}
  574. }
  575.  
  576. sphere {
  577.   <Col12, Row8, Dist>, Radius
  578.    pigment {CoolCopper}
  579. }
  580.  
  581. sphere {
  582.   <Col0, Row9, Dist>, Radius
  583.    pigment {MandarinOrange}
  584. }
  585.  
  586. sphere {
  587.   <Col1, Row9, Dist>, Radius
  588.    pigment {LightWood}
  589. }
  590.  
  591. sphere {
  592.   <Col2, Row9, Dist>, Radius
  593.    pigment {MediumWood}
  594. }
  595.  
  596. sphere {
  597.   <Col3, Row9, Dist>, Radius
  598.     pigment {DarkWood}
  599. }
  600.  
  601. sphere {
  602.   <Col4, Row9, Dist>, Radius
  603.     pigment {SpicyPink}
  604. }
  605.  
  606. sphere {
  607.   <Col5, Row9, Dist>, Radius
  608.     pigment {SemiSweetChoc}
  609. }
  610.  
  611. sphere {
  612.   <Col6, Row9, Dist>, Radius
  613.     pigment {BakersChoc}
  614. }
  615.  
  616. sphere {
  617.   <Col7, Row9, Dist>, Radius
  618.     pigment {Flesh}
  619. }
  620.  
  621. sphere {
  622.   <Col8, Row9, Dist>, Radius
  623.     pigment {NewTan}
  624. }
  625.  
  626. sphere {
  627.   <Col9, Row9, Dist>, Radius
  628.     pigment {NewMidnightBlue}
  629. }
  630.  
  631. sphere {
  632.   <Col10, Row9, Dist>, Radius
  633.     pigment {VeryDarkBrown}
  634. }
  635.  
  636. sphere {
  637.   <Col11, Row9, Dist>, Radius
  638.     pigment {DarkBrown}
  639. }
  640.  
  641. sphere {
  642.   <Col12, Row9, Dist>, Radius
  643.     pigment {DarkTan}
  644. }
  645.  
  646. sphere {
  647.   <Col0, Row10, Dist>, Radius
  648.    pigment {GreenCopper}
  649. }
  650.  
  651. sphere {
  652.   <Col1, Row10, Dist>, Radius
  653.    pigment {DkGreenCopper}
  654. }
  655.  
  656. sphere {
  657.   <Col2, Row10, Dist>, Radius
  658.    pigment {DustyRose}
  659. }
  660.  
  661. sphere {
  662.   <Col3, Row10, Dist>, Radius
  663.     pigment {HuntersGreen}
  664. }
  665.  
  666. sphere {
  667.   <Col4, Row10, Dist>, Radius
  668.     pigment {Scarlet}
  669. }
  670. /*
  671. sphere {
  672.   <Col5, Row10, Dist>, Radius
  673.     pigment { }
  674. }
  675.  
  676. sphere {
  677.   <Col6, Row10, Dist>, Radius
  678.     pigment { }
  679. }
  680.  
  681. sphere {
  682.   <Col7, Row10, Dist>, Radius
  683.     pigment { }
  684. }
  685.  
  686. sphere {
  687.   <Col8, Row10, Dist>, Radius
  688.     pigment { }
  689. }
  690.  
  691. sphere {
  692.   <Col10, Row10, Dist>, Radius
  693.     pigment { }
  694. }
  695.  
  696. sphere {
  697.   <Col10, Row10, Dist>, Radius
  698.     pigment { }
  699. }
  700.  
  701. sphere {
  702.   <Col11, Row10, Dist>, Radius
  703.     pigment { }
  704. }
  705.  
  706. sphere {
  707.   <Col12, Row10, Dist>, Radius
  708.     pigment { }
  709. }
  710.  
  711. */
  712.